﻿using System.ComponentModel.DataAnnotations;
using INSE6260.OnlineBanking.Model.Clients;
namespace INSE6260.OnlineBanking.Model.ClientCard
{
    public class LoginInfo
    {
        public Client Client { get; set; }

        [StringLength(16)]
        [Required(AllowEmptyStrings = false, ErrorMessage = "Card No can not be null.")]
        public string CardNo { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "Password can not be null.")]
        public string Password { get; set; }

        public int Counter { get; set; }

    }
}
